package com.broada.apm.entity;

import java.util.List;

import com.broada.apm.model.PerformanceView;

public class PerformanceGroup {
	private String id;
	private String name;
	private String uri;
	private List<PerformanceView> performances;
	private PerformanceView lastPerf;

	public PerformanceGroup() {
		super();
	}

	public PerformanceGroup(String id, List<PerformanceView> performances, PerformanceView lastPerf) {
		this.id = id;
		this.performances = performances;
		this.lastPerf = lastPerf;
	}
	
	public PerformanceGroup(String id, String name, List<PerformanceView> performances) {
		this.id = id;
		this.name = name;
		this.performances = performances;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<PerformanceView> getPerformances() {
		return performances;
	}

	public void setPerformances(List<PerformanceView> performances) {
		this.performances = performances;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public PerformanceView getLastPerf() {
		return lastPerf;
	}

	public void setLastPerf(PerformanceView lastPerf) {
		this.lastPerf = lastPerf;
	}

}
